package com.hwhp.entity;

import java.util.Set;

/**
 * SPosition entity. @author MyEclipse Persistence Tools
 */

public class SPosition implements java.io.Serializable {

	// Fields
	private String positionId;
	private String name;
	private String parentId;
	private String type;
	private SPosition parentSposition ;
	private Set childPosition ;
	
	// Constructors

	/** default constructor */
	public SPosition() {
	}

	// Property accessors

	public String getPositionId() {
		return this.positionId;
	}

	public void setPositionId(String positionId) {
		this.positionId = positionId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setParentSposition(SPosition parentSposition) {
		this.parentSposition = parentSposition;
	}

	public SPosition getParentSposition() {
		return parentSposition;
	}

	public void setChildPosition(Set childPosition) {
		this.childPosition = childPosition;
	}

	public Set getChildPosition() {
		return childPosition;
	}

}